package se.topshelf.golftracker.core.service;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import se.topshelf.golftracker.core.domain.Course;
import se.topshelf.golftracker.core.domain.MemberClub;
import se.topshelf.golftracker.core.repository.BaseRepository;
import se.topshelf.golftracker.core.repository.CourseRepository;

import javax.annotation.Resource;

/**
 *
 *
 */
@Service
@Transactional
public class CourseServiceImpl extends BaseServiceImpl<Course> implements CourseService {

    @Resource
    private CourseRepository courseRepository;


    @Override
    BaseRepository<Course> getBaseRepository() {
        return courseRepository;
    }
}
